import { View, Image } from "@tarojs/components";
import noData from "@/assets/noData.png";
import style from "./index.scss";

export default (props) => {
  const { list = [], current, onChange = () => {},msg='暂无数据' } = props;

  return (
    <>
      <View className={style.NoData}>
        <Image src={noData} className={style.noDataImg} />
        <View>{msg}</View>
      </View>
    </>
  );
};
